<?php
include("include/conn.php");
require('include/Smarty/libs/Smarty.class.php');
if($_GET['bulliondetailid'] != '')
{
  $bullionDetail = "DELETE FROM bulliondetail
                          WHERE bulliondetailid	 = ".$_GET['bulliondetailid'];
  $bullionDetailRes = mysql_query($bullionDetail);
  if(!$bullionDetailRes)
  {
    echo "DELETING FAILED";
  }
else
 {
   header("Location:bullionDetail.php");
 }
}
?>